package models;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import play.db.jpa.GenericModel;

@Entity
@Table(name = "station")
public class Station extends GenericModel implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	public long id;

	public String code;

	public long createby;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(nullable = false)
	public Date createtime;

	public String province;

	public String city;

	public String county;

	public String stationlvl;

	public boolean isactive;

	public String jianpin;

	public String name;

	public String orgcode;

	public long updateby;

	@Column(nullable = false)
	@Temporal(TemporalType.TIMESTAMP)
	public Date updatetime;

	public String secondname;

	public long hashid;
}